/*
 * Copyright (c) 2024 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#ifndef YY_CONF_PARSER_PARSER_PARSER_H_INCLUDED
# define YY_CONF_PARSER_PARSER_PARSER_H_INCLUDED
/* Debug traces.  */
#ifndef CONF_PARSER_DEBUG
# if defined YYDEBUG
#if YYDEBUG
#   define CONF_PARSER_DEBUG 1
#  else
#   define CONF_PARSER_DEBUG 0
#  endif
# else /* ! defined YYDEBUG */
#  define CONF_PARSER_DEBUG 1
# endif /* ! defined YYDEBUG */
#endif  /* ! defined CONF_PARSER_DEBUG */
#if CONF_PARSER_DEBUG
extern int conf_parser_debug;
#endif

/* Token kinds.  */
#ifndef CONF_PARSER_TOKENTYPE
# define CONF_PARSER_TOKENTYPE
  enum conf_parser_tokentype
  {
    CONF_PARSER_EMPTY = -2,
    CONF_PARSER_EOF = 0,           /* "end of file"  */
    CONF_PARSER_error = 256,       /* error  */
    CONF_PARSER_UNDEF = 257,       /* "invalid token"  */
    STRING = 258,                  /* STRING  */
    EQ = 259,                      /* EQ  */
    SPACES = 260,                  /* SPACES  */
    NEWLINE = 261,                 /* NEWLINE  */
    CONFIG_SETUP = 262,            /* CONFIG_SETUP  */
    CONN = 263,                    /* CONN  */
    CA = 264,                      /* CA  */
    STRING_ERROR = 265             /* STRING_ERROR  */
  };
  typedef enum conf_parser_tokentype conf_parser_token_kind_t;
#endif
/* Token kinds.  */
#define CONF_PARSER_EMPTY -2
#define CONF_PARSER_EOF 0
#define CONF_PARSER_error 256
#define CONF_PARSER_UNDEF 257
#define STRING 258
#define EQ 259
#define SPACES 260
#define NEWLINE 261
#define CONFIG_SETUP 262
#define CONN 263
#define CA 264
#define STRING_ERROR 265

/* Value type.  */
#if ! defined CONF_PARSER_STYPE && ! defined CONF_PARSER_STYPE_IS_DECLARED
union CONF_PARSER_STYPE
{
#line 77 "parser/parser.y"

	char *s;
	conf_parser_section_t t;

#line 100 "parser/parser.h"

};
typedef union CONF_PARSER_STYPE CONF_PARSER_STYPE;
# define CONF_PARSER_STYPE_IS_TRIVIAL 1
# define CONF_PARSER_STYPE_IS_DECLARED 1
#endif




int conf_parser_parse (parser_helper_t *ctx);

/* "%code provides" blocks.  */
#line 66 "parser/parser.y"

	#define YY_DECL \
		int conf_parser_lex(CONF_PARSER_STYPE *yylval, void *yyscanner)
	YY_DECL;

#line 120 "parser/parser.h"

#endif /* !YY_CONF_PARSER_PARSER_PARSER_H_INCLUDED  */
